package com.castle.fortress.admin.rule.rule.mapper;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.rule.rule.entity.RuleEntity;
import java.util.Map;
import java.util.List;
/**
 * 规则表Mapper 接口
 *
 * @author 
 * @since 2025-04-21
 */
public interface RuleMapper extends BaseMapper<RuleEntity> {

	/**
	 * 扩展信息列表
	 * @param pageMap
	 * @param ruleEntity
	 * @return
	 */
	List<RuleEntity> extendsList(@Param("map")Map<String, Long> pageMap, @Param("ruleEntity") RuleEntity ruleEntity);

	/**
	 * 扩展信息记录总数
	 * @param ruleEntity
	 * @return
	 */
	Long extendsCount(@Param("ruleEntity") RuleEntity ruleEntity);

	/**
	 * 规则表扩展详情
	 * @param id 规则表id
	 * @return
	 */
      RuleEntity getByIdExtends(@Param("id")Long id);



}

